package elementui.form;

/**
 * javazgw@gmail.com windown 10
 * 2020/6/28 23:00
 */
public class DatePicker extends FormItem {
    @Override
    String getDefaultHmtl() {
        return " <div class=\"block\">\n" +
                "    <span class=\"demonstration\">默认</span>\n" +
                "    <el-date-picker\n" +
                "      v-model=\""+getVmode()+"\"\n" +
                "      type=\"date\"\n" +
                "      placeholder=\"选择日期\">\n" +
                "    </el-date-picker>\n" +
                "  </div>";
    }

    @Override
    String getDefaultScript() {
        return null;
    }

//    @Override
//    String getData() {
//        return " value1: '' ";
//    }
}
